package com.hhu.userservice.dao;

import com.hhu.userservice.object.dto.TeacherInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TeacherInfoMapper {
    List<TeacherInfo> getAllTeacher();

    List<TeacherInfo> queryTeachersByUserId(List<TeacherInfo> teacherInfos);

    void insertTeacherInfos(List<TeacherInfo> teacherInfos);

    void insertTeacherUserRole(List<TeacherInfo> teacherInfos);

    void deleteTeacherInfos(List<TeacherInfo> teacherInfos);

    void deleteTeacherUserRole(List<TeacherInfo> teacherInfos);

    void updateTeacherInfo(TeacherInfo teacherInfo);
}
